/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const router = {
  hidden: false,
  path: '/auditLogs',
  component: Layout,
  redirect: '/auditLogs/list',
  meta: {
    title: '日志管理',
    icon: 'list'
  },
  children: [
    {
      hidden: false,
      path: 'list',
      name: 'AuditLogs',
      component: () => import('@/views/auditLogs/list'),
      meta: { title: '审计日志', icon: '', roles: [] }
    },
    {
      hidden: true,
      path: 'edit/:id',
      name: 'EditAuditLogs',
      component: () => import('@/views/auditLogs/edit'),
      meta: { title: '审计日志详情', icon: '', roles: ['AuditLoggingManagement.AuditLogging'] }
    },
    {
      hidden: true,
      path: 'preview/:id',
      name: 'PreviewAuditLogs',
      component: () => import('@/views/auditLogs/preview'),
      meta: { title: '审计日志详情', icon: '', roles: ['AuditLoggingManagement.AuditLogging'] }
    }
  ]
}
export default router
